package com.avecsys.quotemanager.service.menu;

import java.util.List;

import com.avecsys.quotemanager.dao.menu.MenuManagerDAO;
import com.avecsys.quotemanager.pojos.menu.RootMenuEntity;

/**
 * @author Samsundar.K
 * 
 */

public class MenuManagerServiceImpl implements MenuManagerService {

	private MenuManagerDAO menuManagerDAO;

	/**
	 * @return MenuManagerDAO
	 */
	public MenuManagerDAO getMenuManagerDAO() {
		return menuManagerDAO;
	}

	/**
	 * @param menuManagerDAO
	 */
	public void setMenuManagerDAO(MenuManagerDAO menuManagerDAO) {
		this.menuManagerDAO = menuManagerDAO;
	}

	/**
	 * @return List<RootMenuEntity>
	 */
	public List<RootMenuEntity> getAllMenus() {
		return menuManagerDAO.getAllMenus();
	}

}
